home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssyyyymmmmlllliiiinnnnkkkk((((2222)))) ssssyyyymmmmlllliiiinnnnkkkk((((2222))))
-
-
-
- NNNNAAAAMMMMEEEE
- _ssss_yyyy_mmmm_llll_iiii_nnnn_kkkk - make a symbolic link to a file
-
- CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_uuuu_nnnn_iiii_ssss_tttt_dddd_...._hhhh_>>>>
-
- _iiii_nnnn_tttt _ssss_yyyy_mmmm_llll_iiii_nnnn_kkkk_((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_nnnn_aaaa_mmmm_eeee_1111_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_nnnn_aaaa_mmmm_eeee_2222_))));
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _ssss_yyyy_mmmm_llll_iiii_nnnn_kkkk creates a symbolic link _n_a_m_e_2 to the file _n_a_m_e_1. Either name may
- be an arbitrary pathname, the files need not be on the same file system,
- and _n_a_m_e_1 may be nonexistent.
-
- The file to which the symbolic link points is used when an _oooo_pppp_eeee_nnnn(2)
- operation is performed on the link. A _ssss_tttt_aaaa_tttt(2) on a symbolic link returns
- the linked-to file, while an _llll_ssss_tttt_aaaa_tttt returns information about the link
- itself. This can lead to surprising results when a symbolic link is made
- to a directory. To avoid confusion in programs, the _rrrr_eeee_aaaa_dddd_llll_iiii_nnnn_kkkk(2) call can
- be used to read the contents of a symbolic link.
-
- If the file named by _n_a_m_e_2 does not exist, it is created. The permission
- mode of _n_a_m_e_2 is 777 [see _cccc_rrrr_eeee_aaaa_tttt(2)].
-
- Control checks depend on the security level of the referenced file when
- following a symbolic link, while the level of the symbolic link is
- ignored.
-
- The symbolic link is made unless one or more of the following are true:
-
- _EEEE_AAAA_CCCC_CCCC_EEEE_SSSS Search permission is denied for a component of the
- path prefix of _n_a_m_e_2.
-
- _EEEE_AAAA_CCCC_CCCC_EEEE_SSSS Write access is denied on the directory in which the
- new file is to be created.
-
- _EEEE_DDDD_QQQQ_UUUU_OOOO_TTTT The directory in which the entry for the new symbolic
- link is being placed cannot be extended because the
- user's quota of disk blocks on the file system
- containing the directory has been exhausted.
-
- _EEEE_DDDD_QQQQ_UUUU_OOOO_TTTT The new symbolic link cannot be created because the
- user's quota of disk blocks on the file system which
- will contain the link has been exhausted.
-
- _EEEE_DDDD_QQQQ_UUUU_OOOO_TTTT The user's quota of inodes on the file system on
- which the file is being created has been exhausted.
-
- _EEEE_EEEE_XXXX_IIII_SSSS_TTTT The file referred to by _n_a_m_e_2 already exists.
-
- _EEEE_FFFF_AAAA_UUUU_LLLL_TTTT _n_a_m_e_1 or _n_a_m_e_2 points outside the allocated address
- space for the process.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssyyyymmmmlllliiiinnnnkkkk((((2222)))) ssssyyyymmmmlllliiiinnnnkkkk((((2222))))
-
-
-
- _EEEE_IIII_OOOO An I/O error occurs while reading from or writing to
- the file system.
-
- _EEEE_LLLL_OOOO_OOOO_PPPP Too many symbolic links are encountered in
- translating _n_a_m_e_2.
-
- _EEEE_NNNN_AAAA_MMMM_EEEE_TTTT_OOOO_OOOO_LLLL_OOOO_NNNN_GGGG The length of the _n_a_m_e_1 or _n_a_m_e_2 argument exceeds
- {_PPPP_AAAA_TTTT_HHHH______MMMM_AAAA_XXXX}, or the length of a _n_a_m_e_1 or _n_a_m_e_2
- component exceeds {_NNNN_AAAA_MMMM_EEEE______MMMM_AAAA_XXXX} while (______PPPP_OOOO_SSSS_IIII_XXXX______NNNN_OOOO______TTTT_RRRR_UUUU_NNNN_CCCC)
- is in effect.
-
- _EEEE_NNNN_OOOO_EEEE_NNNN_TTTT A component of the path prefix of _n_a_m_e_2 does not
- exist.
-
- _EEEE_NNNN_OOOO_SSSS_PPPP_CCCC The directory in which the entry for the new symbolic
- link is being placed cannot be extended because no
- space is left on the file system containing the
- directory.
-
- _EEEE_NNNN_OOOO_SSSS_PPPP_CCCC The new symbolic link cannot be created because no
- space is left on the file system which will contain
- the link.
-
- _EEEE_NNNN_OOOO_SSSS_PPPP_CCCC There are no free inodes on the file system on which
- the file is being created.
-
- _EEEE_NNNN_OOOO_SSSS_YYYY_SSSS The file system does not support symbolic links
-
- _EEEE_NNNN_OOOO_TTTT_DDDD_IIII_RRRR A component of the path prefix of _n_a_m_e_2 is not a
- directory.
-
- _EEEE_RRRR_OOOO_FFFF_SSSS The file _n_a_m_e_2 would reside on a read-only file
- system.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Upon successful completion _ssss_yyyy_mmmm_llll_iiii_nnnn_kkkk returns a value of 0; otherwise, it
- returns -1 and places an error code in _eeee_rrrr_rrrr_nnnn_oooo.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _cccc_pppp(1), _llll_iiii_nnnn_kkkk(2), _rrrr_eeee_aaaa_dddd_llll_iiii_nnnn_kkkk(2), _uuuu_nnnn_llll_iiii_nnnn_kkkk(2), _rrrr_eeee_aaaa_llll_pppp_aaaa_tttt_hhhh(3C)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-